package net.zjitc.dao;

import net.zjitc.pojo.Order;
import net.zjitc.pojo.Orderitem;

import java.util.List;

/**
 * Created by Administrator on 2017/12/13.
 */
public interface OrderDao {
    int add(Order order);

    List<Order> findByUid(int uid);

    List<Orderitem> findOrderitemByOid(String oid);

    int findPidByItemid(int itemid);

    List<Order> findAll();

    List<Order> findbyState(int state);

    int editState(String oid);

    int editPayState(String oid);

    int editStateFour(String oid);

    int editOstate(int itemid);

    int editOstateByItemid(String itemid);
}
